package SXT;

public class CourseSelection {
    public static void main(String[] args) {
        Student student1 = new Student(1, "姜承禄", "男", "JAVA应用开发技术",null);
        Student student2 = new Student(2, "渚钰", "女", "电路与模拟电子技术基础",null);
        Student student3 = new Student(3, "宋义进", "男", null,"数据结构");
        System.out.println(student1.name + "选了" + student1.choose);
        System.out.println(student2.name + "选了" + student2.choose);
        System.out.println(student3.name + "退选了" + student3.withdrawal);
        Teacher teacher1 = new Teacher(1, "张老师", "男", "JAVA应用开发技术");
        Teacher teacher2 = new Teacher(1, "晏老师", "女", "电路与模拟电子技术基础");
        System.out.println(teacher1.name + "讲授" + teacher1.taught);
        System.out.println(teacher2.name + "讲授" + teacher2.taught);
        Course course1 = new Course(1, "JAVA应用开发技术", "主2501", "10:00","张老师");
        Course course2 = new Course(2, "电路与模拟电子技术开发", "教307", "8:00","晏老师");
        System.out.println("学生" + student1.name + "课表" + "\n课程编号：" +course1.id + "\n课程名称：" + course1.ClassName + "\n上课地点：" + course1.place + "\n时间：" + course1.time + "\n授课教师：" + teacher1.taught);
        System.out.println("学生" + student2.name + "课表"  + "\n课程编号：" + +course2.id + "\n课程名称：" + course2.ClassName + "\n上课地点：" + course2.place + "\n时间：" + course2.time + "\n授课教师：" + teacher2.taught);
    }
}

